/* Copyright ©, 2022, ECARX (Hubei) Technology Co., Ltd. All rights reserved.
 *
 * NOTICE: This file contains information which is confidential and proprietary to ECARX
 * (Hubei) Technology Co., Ltd. and/or other developers. No license to any intellectual
 * property rights contained within this file is either granted or implied except as may be
 * provided in an agreement with ECARX (Hubei) Technology Co., Ltd.
 *
 * Any unauthorized copying or distribution of content from this file in whole or in part
 * is prohibited.
 */
#include "vhal_core/Config.h"

namespace ecarx::vhal::core {

Config::Config(const std::vector<std::shared_ptr<transfer::ITransfer>>& transfers,
               persist::PlatformProfile* profileImpl)
    : mTransfers(transfers), mProfileImpl(profileImpl) {}

void Config::setDIDDir(const char* dir) {
    mDIDDir = dir;
}

std::string Config::getDIDDir() const {
    return mDIDDir;
}

const std::vector<std::shared_ptr<transfer::ITransfer>>& Config::getTransfers() const{
  return mTransfers;
}
persist::PlatformProfile* Config::getProfileImpl() const{
  return mProfileImpl;
}

}  // namespace ecarx::vhal::core
